package model;

public class Participation {

	private int pid;
	private int sid;
	private int uid;
	private int isConfirmed; // 0은 대기, 1은 수락, 거절한 경우 tuple 삭제

	public Participation() {

	}

	public Participation(int sid, int uid, int isConfirmed) {

		this.sid = sid;
		this.uid = uid;
		this.isConfirmed = isConfirmed;
	}

	public Participation(int pid, int sid, int uid, int isConfirmed) {

		this.pid = pid;
		this.sid = sid;
		this.uid = uid;
		this.isConfirmed = isConfirmed;
	}

	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}

	public int getSid() {
		return sid;
	}

	public void setSid(int sid) {
		this.sid = sid;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public int getIsConfirmed() {
		return isConfirmed;
	}

	public void setIsConfirmed(int isConfirmed) {
		this.isConfirmed = isConfirmed;
	}

}
